﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace MODEL
{
    public class ElementInfo:ViewModelBase,ICheck
    {
        private int m_Id;
        public int Id
        {
            get { return m_Id; }
            set { m_Id = value; base.RaisePropertyChanged(); }
        }

        private string m_ElementName;
        public string ElementName
        {
            get { return m_ElementName; }
            set { m_ElementName = value; base.RaisePropertyChanged(); }
        }

        public string ElementCode { get; set; }
        public string StationType { get; set; }
        public int InsertEnable { get; set; } = 1;
        private bool m_IsChecked;
        public bool IsChecked
        {
            get { return this.m_IsChecked; }
            set { this.m_IsChecked = value; base.RaisePropertyChanged(() => this.IsChecked); }
        }
    }
}
